<!DOCTYPE html>
<html>
<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>传智健康</title>
    <meta name="description" content="传智健康">
    <meta name="keywords" content="传智健康">
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <!-- 引入样式 -->
    <link rel="stylesheet" href="../plugins/elementui/index.css">
    <link rel="stylesheet" href="../plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../css/style.css">
</head>
<body class="hold-transition">
<div id="app">
    <div class="content-header">
        <h1>首页
            <small>公司分布</small>
        </h1>
        <el-breadcrumb separator-class="el-icon-arrow-right" class="breadcrumb">
            <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item>公司分布</el-breadcrumb-item>
        </el-breadcrumb>
    </div>
    <div class="app-container">
        <div class="box" id="container">
            <template>
                <el-tabs v-model="activeName" @tab-click="handleClick">
                    <el-tab-pane label="分布图" name="first">
                        <iframe name="right" class="el-main" src="distributionMap.html" width="100%" height="500px"
                                frameborder="0"></iframe>
                    </el-tab-pane>
                    <el-tab-pane label="详细信息" name="second">
                        <iframe name="right" class="el-main" src="addressInformation.html" width="100%" height="450px"
                                frameborder="0"></iframe>
                    </el-tab-pane>
                </el-tabs>
            </template>
        </div>
    </div>
</div>
</body>
<!-- 引入组件库 -->
<script src="../js/vue.js"></script>
<script src="../plugins/elementui/index.js"></script>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script>

    new Vue({
        el: '#app',
        data: {
            activeName: "first"
        },
        methods: {
            handleClick() {
                if (this.activeName == 'first') {
                    location.reload();
                }
            }
        }
    });

</script>


</html>
